<?php
/**
 * 球员信息
 */
namespace app\sports\player\model;

use think\Db;
use think\Model;

class PlayerModel extends Model
{

    private $database = 'sports_database';

    /*
     * 批量插入球员信息
     */
    public function InsertPlayerAll($array){
        return Db::database($this->database)->table('foot_ball_team_player')->strict()->insertAll($array);
    }

}